package resuing;

class Home{
	
	char doh(char c) {
		System.out.println("doh(char)");
		return 'd';
	}
	
	float doh(float f) {
		System.out.println("doh(float)");
		return 1.0f;
	}
}

class Milhouse{
	
}

class Bart extends Home{
	
	void doh(Milhouse m) {
		
		System.out.println("doh(Milhouse)");
		
	}
	
	float doh(float f) {
		System.out.println("Bart.doh(float)");
		return 1.0f;
	}
}


public class Hide {

	public static void main(String[] args) {
		
		Bart b = new Bart();
		b.doh(1);
		b.doh('x');
		b.doh(1.0f);
		b.doh(new Milhouse());
	}
}
